a11y: Set accessible role for GtkLinkButton
authorMatthias Clasen <mclasen@redhat.com>
Thu, 30 Jul 2020 00:26:16 +0000 (20:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 30 Jul 2020 02:46:00 +0000 (22:46 -0400)
commit144114bf408f4020289eb03dd85d87a1fa3f9840
tree16c7c9e9f480239ca23ce05dc44b6748d328a30c
parentc68fe1053aa7009161a5a2f1a137ff81693e9c47
a11y: Set accessible role for GtkLinkButton

Set the accessible role for GtkLinkButton to button.
We don't use the 'link' role since ARIA says "if it
behaves like a button, use 'button'".

Update docs and add a test.

This changes should not be neccessary, since
GtkLinkButton derives from GtkButton, see #2965.
docs/reference/gtk/section-accessibility.md
gtk/gtklinkbutton.c
testsuite/a11y/button.c